let express = require('express')
let router = express.Router()
router.get('/', async (req, res, next) => {
    // 处理列表业务
    // 整理参数
    let collectionName = 'banner'
    try {
        let result = await req.mgdb.findList({ collectionName})
        res.send(result)
    } catch (e) {
        res.send(e)
    }
})
module.exports = router;